import {ajaxJson} from 'jstools-common/dist/jstools.web'

let baseUrl = process.env.VUE_APP_APIURL || ''

export default {
  login (params, config) {
    return ajaxJson.post(`${baseUrl}/login`, params, config)
  }
}
